<?php namespace App\Http\Controllers\Api\User;

use App\Http\Controllers\Controller;
use App\Api\Models\Repair;

class RepairController extends Controller{
    
    //申请保修
    public function AppRepair() {
        $res = with(new Repair())->AppRepair();
        return json_encode($res,JSON_UNESCAPED_UNICODE);
    }
    //监测设备状态
    public function getStatus() {
        $res = with(new Repair())->getStatus();
        return json_encode($res,JSON_UNESCAPED_UNICODE);
    }
   
}